@import "iconfont/iconfont.css";

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  transition: all 0.1s;
}

*::after,
*::before {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

strong {
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  font-size: 13px;
  line-height: 15px;
  font-weight: 500;
  color: #494949;
  margin: 0 3px;
  padding: 3px 8px;
  background-color: #F6F6F6;
  border-radius: 5px;
  border: 1px solid rgb(235, 235, 235);
}

strong:hover {
  background-color: #ddd;
}

::-webkit-scrollbar{
  width: 5px;
  background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb{
  background-color: rgba(0,0,0,0.2);
  border-radius: 50px;
}


body {
  padding-top: 60px ;
  padding-bottom: 20px;
  background-color: #eee;
}

.pdf {
  display: inline-block;
  position: fixed;
  // z-index: 10;
  bottom: 6px;
  left: 50%;
  margin-left: 520px;
  padding: 0 8px;
  border-radius: 3px;
  font-size: 16px;
  line-height: 26px;
  color: #fff;
  background-color: #00b38a;
  transition: all .2s ease-in-out;
  animation: fade 1.6s;
}

@media screen and (max-width: 1246px) {
  .pdf {
    left: auto;
    right: 8px;
    margin-left: 0;
  }
}


.clearfix::after {
  content: '';
  display: block;
  clear: both;
}

.btn {
  display: inline-block;
  padding: 0 5px;
  border: 1px solid #00b38a;
  border-radius: 3px;
  font-family: Menlo, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  height: 20px !important;
  font-size: 14px !important;
  line-height: 18px !important;
  margin: 2px 0;
  text-align: center;
  color: #00b38a;

  &:hover {
    background-color: #00b38a;
    color: #fff;
  }
}

.content {
  width: 1024px;
  // min-height: 1582px;
  background-color: #fff;
  box-shadow: 0 0 5px #ccc;
  border-radius: 10px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

.content-hd {
  color: white;
  background-color: #00b38a;
  padding: 30px 50px;
}

.content-hd a:hover {
  opacity: 0.8;
}

section.title {
  padding-bottom: 5px;
  border-bottom: 2px solid #00a982;
  margin-bottom: 10px;

  .name {
    float: left;
    width: 50%;

    h1 {
      font-size: 52px;
      letter-spacing: 5px;

      small {
        margin-left: 5px;
        font-weight: 400;
        font-size: 24px;
        letter-spacing: 0;
      }
    }
  }

  .job {
    height: inherit;
    float: right;
    width: 50%;
    text-align: right;

    h2 {
      font-weight: 300;
      font-size: 24px;
      display: inline-block;
    }
  }
}

section.info {
  float: left;
  width: 50%;
  font-size: 16px;
  line-height: 34px;
}

section.contact {
  text-align: right;
  float: right;
  width: 50%;
  font-size: 15px;
  line-height: 25px;
}

@media only screen and (max-width: 720px) {
  

  .content {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .content-hd {
    padding: 25px;
  }


}

section.title {
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 2px solid #00a982;
  font-size: 52px;

  .name {
    text-align: center;
    width: 100%;

    small {
      display: block;
      width: 100%;
    }
  }

  .job {
    width: 100%;
    text-align: center;
  }
}

section.info {
  width: 100%;
  text-align: center;
}

section.contact {
  margin-top: 20px;
  width: 100%;
  text-align: center;

  li {
    margin-left: 20px;
    display: inline-block;
  }

  li span {
    display: none;
  }

  li i {
    font-size: 35px;
  }

}

/* body */
.content-bd {
  padding: 8px 30px 50px;
  color: #444;

  .content-left,
  .content-right {
    padding: 15px 20px;
    width: 50%;
  }

  .content-left {
    float: left;
  }

  .content-right {
    float: right;
  }
}

.content-bd .content-bd section {
  padding: 10px 18px;

}

.section-header {
  position: relative;

  .section-title-l,
  .section-title-r {
    display: inline-block;
    position: absolute;
    top: 50%;
    width: 35%;
    height: 0;
    border-top: 1px solid #ededed;
    vertical-align: middle;

    &:hover {
      transform: scale(1.2);
      background-color: #ddd;
    }
  }

  .section-title-l {
    left: 0;
  }

  .section-title-r {
    right: 0;
  }

  .section-title {
    position: relative;
    z-index: 1;
    width: 24%;
    min-width: 100px;
    margin: 0 auto;
    padding: 4px 10px;
    border-radius: 32px;
    font-size: 16px;
    text-align: center;
    background-color: #eee;

    &:hover {
      background-color: #ddd;
    }
  }
}

@media screen and (max-width:1024px) {
  body {
    padding-top: 0;
  }
  .content{
    border-radius: 0;
    width: 100%;
  }
  .content-bd {

    .content-left,
    .content-right {
      width: 100%;
    }
  }

}

// 内容ui
.content-bd .iconfont {
  color: #00a982;
}

.section-body {
  position: relative;
}

.content-bd {
  overflow: hidden;

  .item-hd {
    position: relative;
    padding: 8px 0 5px;
    font-weight: 500;
    line-height: 32px;
    overflow: hidden;

    &:hover {
      color: #222;
      background-color: rgb(250, 250, 250);
    }
  }

  .item-stage {
    color: #666;
    font-size: 13px;
  }

  .item-time {
    float: left;
    display: inline-block;
    font-size: 14px;
    min-width: 125px;
    margin-right: 5px;
  }

  .item-name {
    float: left;
    display: inline-block;
  }

  .item-more {
    float: right;
    height: 22px;
    line-height: 22px;
  }

  .item-qr {
    margin-bottom: -80px;

    .item-qr-hd {
      float: left;
      position: relative;
      padding: 8px 0 5px;
      font-weight: 500;
      line-height: 32px;
    }

    .item-qr-code {
      float: right;

      img {
        width: 80px;

        &:hover {
          transform: scale(1.05);
        }
      }

      .qr-link {

        text-align: center;
        color: #aaa;
        display: block;
      }

      .qr-link:hover {
        color: #333;
        text-decoration: underline;
      }
    }
  }

}

// 实践经历
#experience,
#award {
  margin-top: 30px;
}

.content-bd .section-header {
  margin: 20px 0;
}

#award .item-time {
  min-width: 50px;
}

#award .item-more {
  float: right;
}

.icon-link {
  border-radius: 5px;
  padding: 10px;
  font-size: 22px;
}

.icon-link:hover {
  background-color: #ddd;
}

.works-item {
  margin-top: 40px;
}

.works-item:first-child {
  margin-top: 0px;
}
footer{
  margin-top: 20px;
  display: block;
  text-align: center;
}
footer .footer-link {
  display: inline-block;
  // vertical-align: top;
  color: #aaa;
  &:hover{
    background-color: rgb(230, 230, 230);
  }
  .iconfont{
    vertical-align: middle;
    margin-right: 2px;
    padding: 0px;
    &:hover{
      background-color: initial;
    }
  }
}